<include file="Admin:header" />
<load href="./Public/Js/swfupload.js"/>
<div id="msg"></div>
<form name="myform" id="myform" action="<if condition="$action_name=='add'">{:U($module_name.'/insert')}<else />{:U($module_name.'/update')}</if>" method="post">
<div id="filelist" class="hide"></div>
<div class="error"><ul></ul></div>





<table cellpadding=0 cellspacing=0 class="table_form" width="100%">
	<tr>
		<td width="120">网站域名</td>
        <td id="box_domain">
		<input type="text"   class="input-text " name="domain"  id="domain" value="{$vo['domain']}" size=""  validate="" /> 		</td>
	</tr><tr>
		<td width="120">国家</td>
        <td id="box_country">
		<input type="text"   class="input-text " name="country"  id="country" value="{$vo['country']}" size=""  validate="" /> 		</td>
	</tr>
<!--
	<tr>
		<td width="120">语言</td>
        <td id="box_langzip">
		<input type="text"   class="input-text " name="langzip"  id="langzip" value="{$vo['langzip']}" size=""  validate="" /> 		</td>
	</tr>
-->
	<tr>
		<td width="120">费率</td>
        <td id="box_abbreviation">
		<input type="text"   class="input-text " name="abbreviation"  id="abbreviation" value="{$vo['abbreviation']}" size=""  validate="" /> 		</td>
	</tr>

	<tr>
		<td width="120">汇率</td>
        <td id="box_abbreviationb">
		<input type="text"   class="input-text " name="abbreviationb"  id="abbreviationb" value="{$vo['abbreviationb']}" size=""  validate="" /> 		</td>
	</tr>
	<tr>
		<td width="120">币种</td>
        <td id="box_currency">
		<input type="text"   class="input-text " name="currency"  id="currency" value="{$vo['currency']}" size=""  validate="" /></td>
	</tr>
	<tr>
		<td width="120">销售员</td>
        <td id="box_saleser">
		<input type="text"   class="input-text " name="saleser"  id="saleser" value="{$vo['saleser']}" size=""  validate="" /> 		</td>
	</tr>

	<tr>
		<td width="120">订单提醒</td>
        <td id="box_alert">
		<input type="checkbox" <if condition="$vo['alert'] ==1">checked="checked"</if> value="1" name="alert"  id="alert" />
		</td>
	</tr>

	<tr>
		<td width="120">收信邮箱</td>
        <td id="box_email">
		<input type="text"  class="input-text " name="email"  id="email" value="{$vo['email']}" size=""  validate="" /> (多帐号逗号隔开)		</td>
	</tr>

	<tr>
		<td width="120">平邮价格</td>
        <td id="box_postprice1">
		<input type="text"  class="input-text " name="postprice1"  id="postprice1" value="{$vo['postprice1']}" />(单数)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="text"  class="input-text " name="postprice2"  id="postprice2" value="{$vo['postprice2']}" />(复数)
		</td>
	</tr>

	<tr>
		<td width="120">快递价格</td>
        <td id="box_postprice3">
		<input type="text"  class="input-text " name="postprice3"  id="postprice3" value="{$vo['postprice3']}" />(单数)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="text"  class="input-text " name="postprice4"  id="postprice4" value="{$vo['postprice4']}" />(复数)
		</td>
	</tr>


	<tr>
		<td width="120">发布时间</td>
        <td id="box_createtime">
		<input  class="Wdate input-text  "  validate=""   name="createtime" type="text" id="createtime" size="25" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'
		})" value="<?php echo date('Y-m-d H:i:s'); ?>" />		</td>
	</tr>
	<tr>
		<td width="120">显示模版</td>
        <td id="box_template">
		<select id="template" name="template" onchange=""  class="" validate="" >
		<option value="">请选择</option>
		<volist name="templates" id="r">
		<option value="{$r.filename}" <eq  name="vo['template']" value='$r.filename'>selected="selected"</eq>>{$r.filename}</option>
		</volist>
		</select>		</td>
	</tr>
	<tr>
		<td width="120">确认信息模版</td>
        <td id="box_template">
		<select id="template" name="infotemplate" onchange=""  class="" validate="" >
		<option value="">请选择</option>
		<volist name="templates" id="r">
		<option value="{$r.filename}" <eq  name="vo['infotemplate']" value='$r.filename'>selected="selected"</eq>>{$r.filename}</option>
		</volist>
		</select>		</td>
	</tr>
	<tr>
		<td width="120">未付款模版</td>
        <td id="box_etemplate">
		<select id="etemplate" name="etemplate" >
		<option value="">请选择</option>
		<volist name="etemplates" id="r2">
		<option value="{$r2.filename}" <eq  name="vo['etemplate']" value='$r2.filename'>selected="selected"</eq>>{$r2.filename}</option>
		</volist>
		</select>		</td>
	</tr>
	<tr>
		<td width="120">已付款模版</td>
        <td id="box_etemplate1">
		<select id="etemplate1" name="etemplate1" >
		<option value="">请选择</option>
		<volist name="etemplates" id="r2">
		<option value="{$r2.filename}" <eq  name="vo['etemplate1']" value='$r2.filename'>selected="selected"</eq>>{$r2.filename}</option>
		</volist>
		</select>		</td>
	</tr>
		</table>
		<div id="bootline"></div>
		<div id="btnbox" class="btn">
		<if condition="$vo['id']!=''"><input TYPE="hidden" name="id" value="{$vo.id}"></if>
		<INPUT TYPE="submit"  value="{:L('dosubmit')}" class="button" >
		<input TYPE="reset"  value="{:L('cancel')}" class="button">
		</div>
{__TOKEN__}
</form>
</div>
<script> 
function mo_import(){
url='?g=Admin&m=Attachment&a=showloadpage&file_limit=1&file_types=zip&file_size=10&moduleid=3&mo_import=1&mo_model=website';
		art.dialog.open(url, {
		title: '导入文件',
		lock: 'true',
		window: 'top',
		width: 600,
		height: 455,
		});
}
</script>